package com.atguigu.gulimall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Catelog2Vo {

    //以及分类父ID
    private String catelogId;

    //三级分类子ID
    private List<Catelog3Vo> catelog3list;

    private String id;
    private String name;

    /**
     * 三级分类VO
     **/
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Catelog3Vo{
        private String catelog2Id;
        private String id;
        private String name;
    }
}
